{template 'header'}

<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp;»&nbsp; <a href="{url('learn/index')}">学车手册</a>
</div>
<!--当前位置 end-->

<!--主体部分-->
<div class="main layout960">
	<!--推荐属性-->
	<div class="main-head-blue">
		<h2>学车手册</h2>
	</div>
	<!--main-body-border start-->
	<div class="main-body border">
		<h4>所有类目</h4>
		<!--cat-property start-->
		<div class="cat-property">
			<div class="cat-section fn-clear">
				<div class="cat-hd fn-left">分类：</div>
				<ul class="fn-left">
					{loop $maincat $k $v}
					<li {if $catid == $v[catid]}class="selected"{/if}><a href="{xd_dynamic_url('catid', $v[catid], $buildBase)}" title="{$v[catname]}">{$v[catname]}</a></li>
					{/loop}
				</ul>
			</div>
		</div>
		<!--cat-property end-->
		{if $catid}
		<div class="cat-selected fn-clear ">
			<h5 class="fn-left">您已选择：</h5>
			<ul class="fn-left">
				<li>
					{if $catid}
					<a href="{xd_dynamic_url('catid', 0, $buildBase)}" title="分类：保养维修"><h5>分类:</h5>{$CAT['catname']}<i class="icon-close"></i></a>
					{/if}
				</li>
			</ul>
		</div>
		{/if}
		<!--过滤-->
		<div class="filter fn-clear">
			<div class="filter-hd fn-clear">
				<h3 class="fn-left">所有信息</h3>
				<div class="page-top fn-right fn-clear">
					<div class="fn-left">当前共有<span>{if $items}{$items}{else}0{/if}</span>条信息</div>
					{if $items}
					<span>{php echo $do->getPn()->getPage()}/{php echo $do->getPn()->getPages()}</span>
					{php echo $do->getPn()->getPrev()}
					{php echo $do->getPn()->getNext()}
					{/if}
				</div>
			</div>
		</div>
		<!--过滤 end-->
		<!--搜索结果-->
		<div class="layout-inner fn-clear">
			<div class="layout-inner-1of2 fn-left">
				<ul class="result-list learn-rlist text-ellipsis">
					{if $tags}
					{loop $tags $i $t}
					<li><a href="{url('learn/show', 'itemid='.$t['itemid'])}" target="_blank" title="{$t['title']}">{$t['title']}</a></li>
					{/loop}
					{else}
					{template 'noresult', 'message'}
					{/if}
				</ul>
				{php $pn = $do->getPn()}
				{template 'pager', 'inc'}
			</div>
			<div class='fn-right'>
			<iframe src="{SITE_URL}extend/fragment.php?modules=learn&psize=10"  scrolling="no" frameborder="0" height='303' ></iframe>
			<iframe src="{SITE_URL}extend/fragment.php?modules=use&psize=10"  scrolling="no" frameborder="0" height='303' ></iframe>
			<iframe src="{SITE_URL}extend/fragment.php?modules=BBS"  scrolling="no" frameborder="0" height='303'></iframe>
			</div>
			<!--2of2 end-->
		</div>
		<!--搜索结果 end-->
	</div>
	<!--main-body-border end-->
</div>
<!--主体部分 end-->
{template 'footer'}
